
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="" charset="utf-8">
<link rel="stylesheet" type="text/css" href="JTrac_files/layout.css">
<title>Set answer page</title>
</head>
<body>
	<div id="wrapper">
		<%@include file="template.jsp"%>
		<div id="insert_qs">
			<div class="title_qs"></div>
			<div class="inputAnswer">
				<s:form action="insertAnswersAction">
					<h3>The answer for question <s:property value="questionId" />:</h3>
				    <s:hidden name="questionIdBean" value="%{questionId}"  />
					<s:textarea name="answer" label="Answer : "></s:textarea>				
					<s:radio label="Type of answer : " name="typeOfAnswer" list="{'right','wrong'}"></s:radio>
					<s:submit label="save" />
				</s:form>
				
			</div>
		</div>
		<%@include file="bottom.jsp"%>
	</div>
</body>
</html>